package com.dwd.hrm.service;

import com.dwd.hrm.domain.Tenant;
import com.baomidou.mybatisplus.service.IService;
import com.dwd.hrm.dto.TenantEnteringDto;
import com.dwd.hrm.query.TenantQuery;
import com.dwd.hrm.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wendi
 * @since 2021-03-02
 */
public interface ITenantService extends IService<Tenant> {
    /**
     * 分页
     * @param query
     * @return
     */
    PageList<Tenant> queryPage(TenantQuery query);

    /**
     * 机构入驻
     * @param tenantEnteringDto
     */
    void entering(TenantEnteringDto tenantEnteringDto);
}
